package com.hxzy.shop.dto.commodity.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;

@Data
@ApiModel(value = "添加分类获得分类Model")
public class AddClassifiedReq{

    @ApiModelProperty("分类id")
    private Long id;

    @NotNull
    @ApiModelProperty("分类名称")
    private String classifiedName;

    @ApiModelProperty("排序")
    private int sort;

    @ApiModelProperty("增加的分类")
    private List<SonClassified> addsubClassified;


    @ApiModelProperty("修改的分类")
    private List<SonClassified> updateSubClassified;


    @ApiModelProperty("删除的分类")
    private List<SonClassified> deleteSubClassified;

    @ApiModelProperty("状态")
    private Boolean state;

    @NotNull
    @ApiModelProperty("分类描述")
    private String classifiedDescribe;

}